f5509ad4024ce0e4370c79104cca506ec89277dd,platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/ChangesCacheFile.java,ChangesCacheFile,refreshIncomingChanges,#,769

Before Change


  }

  public boolean refreshIncomingChanges() throws IOException, VcsException {
    return !myProject.isDisposed() && new RefreshIncomingChangesOperation(this, myProject).invoke();
  }

  public AbstractVcs getVcs() {

After Change


  }

  public boolean refreshIncomingChanges() throws IOException, VcsException {
    if (myProject.isDisposed()) return false;
    
    DiffProvider diffProvider = myVcs.getDiffProvider();
    if (diffProvider == null) return false;
    
    return new RefreshIncomingChangesOperation(this, myProject, diffProvider).invoke();
  }